package com.whnk.pm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.whnk.common.base.BaseEntity;
import java.util.Date;

/**
 * 工作经历表 emp_work_info
 * 
 * @author whwhnk
 * @date 2019-06-13
 */
public class WorkInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 工作经历主键 */
	private Integer workId;
	/** 证件号码 */
	private String empId;
	/** 姓名 */
	private String empNm;
	/** 所属公司名称 */
	private String empComp;
	/** 服务开始日期 */
	@JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
	private Date empWorkStdt;
	/** 服务结束日期 */
	@JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
	private Date empWorkEddt;
	/** 职位 */
	private String empJob;

	public void setWorkId(Integer workId) 
	{
		this.workId = workId;
	}

	public Integer getWorkId() 
	{
		return workId;
	}
	public void setEmpId(String empId) 
	{
		this.empId = empId;
	}

	public String getEmpId() 
	{
		return empId;
	}
	public void setEmpNm(String empNm) 
	{
		this.empNm = empNm;
	}

	public String getEmpNm() 
	{
		return empNm;
	}
	public void setEmpComp(String empComp) 
	{
		this.empComp = empComp;
	}

	public String getEmpComp() 
	{
		return empComp;
	}
	@JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
	public void setEmpWorkStdt(Date empWorkStdt) 
	{
		this.empWorkStdt = empWorkStdt;
	}
	@JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
	public Date getEmpWorkStdt() 
	{
		return empWorkStdt;
	}
	@JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
	public void setEmpWorkEddt(Date empWorkEddt) 
	{
		this.empWorkEddt = empWorkEddt;
	}
	@JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
	public Date getEmpWorkEddt() 
	{
		return empWorkEddt;
	}
	public void setEmpJob(String empJob) 
	{
		this.empJob = empJob;
	}

	public String getEmpJob() 
	{
		return empJob;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workId", getWorkId())
            .append("empId", getEmpId())
            .append("empNm", getEmpNm())
            .append("empComp", getEmpComp())
            .append("empWorkStdt", getEmpWorkStdt())
            .append("empWorkEddt", getEmpWorkEddt())
            .append("empJob", getEmpJob())
            .toString();
    }
}
